package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;

import java.util.List;

public interface TbSpecificationServiceI {

    List<TbSpecification> getFindAll();

    void addTbSpecification(TbSpecification tbSpecification, List<TbSpecificationOption> specificationOptions);

    void deleteTbSpecification(String id);

    void deleteTbSpecificationOption(String id);

    List<TbSpecificationOption> selectTbSpecificationOptionById(Integer id);

    TbSpecification selectTbSpecificationById(Integer bei);

    void updateTbSpecification(TbSpecification tbSpecification, List<TbSpecificationOption> specificationOptions);
}
